1. The Basics
Basic Definitions and notation
Set is a collection of items, name elements, characterised by a certain property Element belgons to indicated as Several elements of compose a subset
Want to inidcate all the elements of the set:
Want to say there exists(at least) one element of which has a certain property (such that):
Want to say there exists only/exactly one element of which has certain property
if statement 1 THEN statement 2
statement 1 IF AND ONLY IF statement 2
Cardinality of a set
coincident - every element of is also an element of and every element of is also an element of cardinality of a set is number of elements contained in empty - indicated with
Intersection and Union
intersection - - set containing all the elements that are both in the sets and union - - set containing all the elements that are either or both the sets and difference - - set containing all the elements that are in but not
Associativity of the Intersection
Numbers and Number sets
Set is finite if its cardinality is a finite number. Set is infinite if its cardinality is continuous if
Types of Number Sets
Continue from last semester ℂ - Set of number than can be expressed as where and the imaginary uni
Cartesian Product
New set generated by all the possible pairs
Relations
Order Relation
Indicated with if following properties are verified:
- reflexivity
- transitivity
- antisymmetry
Example
Let and let consider if and only if is a multiple of . More formally with
Equivalence
Indicated with if following properties are verified:
- Reflexivity -
- symmetry - then
- transitivity - and then
Equivalence Classes
Let be an equivalence relation defined on . The equivalence class of an element is a set defined as
Partition
Set of all the elements equivalent to is called equivalence class and is indicated with
Functions/Mapping
Relation is to be a mapping or function when it relates to any element of a set unique element of another. Let and be two sets, a mapping is a relation such that: (Every element, find only 1 element in other set such that y is = x)
The statement can be expressed also as Unary operator - Binary operator - or Internal composition law -
algebraic structure - set endowed with 1+ internal composition laws
Injective Functions
is injection if the function values of two different elements is always different: and if then Never crosses horizontal line twice. Doesnt cross it twice
Surjective Functions
is surjective if all elements of are mapped by an element of it follows that such that Graph has no holes. Y axis as got a function, eg crosses graph
Bijective Functions
is bijective when both injection and surjection are verified